<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<span style="color: darkslategray; font-size: 30px">欢迎光临！</span>

<a href="#" th:href="@{/user/addf}">添加</a>
<table border="1">
    <tr>

        <th>姓名</th>
        <th>性别</th>
        <th>出生日期</th>
        <th>入职期间</th>
        <th>学历</th>
        <th>职务</th>
        <th>地址</th>
        <th>电话</th>
        <th>紧急联系人</th>
        <th>所属部门</th>
    </tr>
    <tr>
    <tr th:each="list:${list}">

        <td th:text="${list.name}"></td>
       <td th:text="${list.sex=='1'?'男':'女'}"></td>
        <td th:text="${list.brh}"></td>
        <td th:text="${list.rtime}"></td>
         <td th:text="${list.xueli}"></td>
         <td th:text="${list.zname}"></td>
         <td th:text="${list.address}"></td>
         <td th:text="${list.phone}"></td>
         <td th:text="${list.lianxiren}"></td>
         <td th:text="${list.dname}"></td>
    <td>
         <a href="#" th:href="@{/user/del(id=${list.uid})}">删除</a>
         <a href="#" th:href="@{/user/fid(uid=${list.uid})}">修改</a>
    </td>
    </tr>






</table>

</body>
</html>